<template>
  <h2>我是模板</h2>
</template>
<script lang="ts">
import { defineComponent, onMounted, reactive, ref } from "vue";
export default defineComponent({
  setup() {
    // 获取配置参数
    const sxhmAppCodes: any = ref({});
    // 用于grid 数据字典的
    const formatterCode = ({ cellValue, column }: any) => {
      if (sxhmAppCodes.value[column.property.toUpperCase()]) {
        let item = sxhmAppCodes.value[column.property.toUpperCase()].find(
          (item: any) => item.aaa002 == cellValue
        );
        return item ? item.aaa003 : "";
      } else {
        return "";
      }
    };
    onMounted(() => {
 
    });
    return {};
  },
});
</script>
<style lang="less" scoped>
</style>